a11y: Drop GtkAccessibleRange.get_minimum_increment()
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 30 Sep 2022 17:31:55 +0000 (18:31 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 30 Sep 2022 17:36:02 +0000 (18:36 +0100)
commit31fea11255adf54b1ed450c86ad07be70c504aab
treefb778d01542e173f706dadc66d874cedaa8539c5
parent5dd7e248061051acd692f78519c1094c090c7c50
a11y: Drop GtkAccessibleRange.get_minimum_increment()

MinimumIncrement is an AT-SPI-ism that has no counterpart in the ARIA
specification, so it should not live inside public API. Additionally,
it's not really a useful method because it collapses two values on the
adjustment API.

The only method in the GtkAccessibleRange interface should be the
set_current_value(), which allows ATs to control the current position in
a ranged widget.

The AT-SPI implementation can now use all the accessible properties,
including the VALUE_TEXT one, mapped to the Text property on the
AtSpi.Value interface.
gtk/a11y/atspi/Value.xml
gtk/a11y/gtkatspivalue.c
gtk/gtkaccessiblerange.c
gtk/gtkaccessiblerange.h
gtk/gtkaccessiblerangeprivate.h [new file with mode: 0644]
gtk/gtkpaned.c
gtk/gtkrange.c
gtk/gtkscalebutton.c
gtk/gtkspinbutton.c